package com.teamall.web.family.db.arg;

import java.util.*;
import java.math.*;
import org.apache.commons.lang.*;

public class FamilyMemberArg {
    private String pk_name = "FAMILY_MEMEBER_ID";

    private String orderByClause;

    private String groupByClause;

    private String columns;

    private String countsql1;

    private String countsql2;

    private boolean distinct;

    private int rowStart = 0;

    private int rowEnd = 10;

    private List<FamilyMemberCriteria> oredCriteria;

    public FamilyMemberArg() {
        oredCriteria = new ArrayList<FamilyMemberCriteria>();
    }

    public void setPk_name(String pk_name) {
        this.pk_name = StringEscapeUtils.escapeSql(pk_name);
    }

    public String getPk_name() {
        return pk_name;
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = StringEscapeUtils.escapeSql(orderByClause);
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setGroupByClause(String groupByClause) {
        this.groupByClause = StringEscapeUtils.escapeSql(groupByClause);
    }

    public String geGroupByClause() {
        return groupByClause;
    }

    public void setColumns(String columns) {
        this.columns = StringEscapeUtils.escapeSql(columns);
    }

    public String geColumns() {
        return columns;
    }

    public void setCountsql1(String countsql1) {
        this.countsql1 = StringEscapeUtils.escapeSql(countsql1);
    }

    public String geCountsql1() {
        return countsql1;
    }

    public void setCountsql2(String countsql2) {
        this.countsql2 = StringEscapeUtils.escapeSql(countsql2);
    }

    public String geCountsql2() {
        return countsql2;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public void setRowStart(int rowStart) {
        this.rowStart = rowStart;
    }

    public void setRowEnd(int rowEnd) {
        this.rowEnd = rowEnd;
    }

    public int getRowStart() {
        return rowStart;
    }

    public int getRowEnd() {
        return rowEnd;
    }

    public List<FamilyMemberCriteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(FamilyMemberCriteria criteria) {
        oredCriteria.add(criteria);
    }

    public FamilyMemberCriteria or() {
    	FamilyMemberCriteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public FamilyMemberCriteria createCriteria() {
    	FamilyMemberCriteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected FamilyMemberCriteria createCriteriaInternal() {
    	FamilyMemberCriteria criteria = new FamilyMemberCriteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        groupByClause = null;
        columns = null;
        countsql1 = null;
        countsql2 = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<FamilyMemberCriterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<FamilyMemberCriterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<FamilyMemberCriterion> getAllCriteria() {
            return criteria;
        }

        public List<FamilyMemberCriterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new FamilyMemberCriterion(condition));
        }

        protected void addCriterion(String condition, Object value,
                String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new FamilyMemberCriterion(condition, value));
        }

        protected void addCriterion(String condition, Object value,
                String property, int likeType) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new FamilyMemberCriterion(condition, value, likeType));
        }

        protected void addCriterion(String condition, Object value1,
                Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property
                        + " cannot be null");
            }
            criteria.add(new FamilyMemberCriterion(condition, value1, value2));
        }

        public FamilyMemberCriteria andCriterionEqualTo(String criterion) {
            if (StringUtils.isBlank(criterion)) {
                criterion = "1=1";
            }
            addCriterion(criterion);
            return (FamilyMemberCriteria) this;
        }
        public FamilyMemberCriteria andFamilyMemeberIdIsNull() {
            addCriterion("FAMILY_MEMEBER_ID is null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andFamilyMemeberIdIsNotNull() {
            addCriterion("FAMILY_MEMEBER_ID is not null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andFamilyMemeberIdEqualTo(Integer value) {
            addCriterion("FAMILY_MEMEBER_ID =", value, "FAMILY_MEMEBER_ID");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andFamilyMemeberIdNotEqualTo(Integer value) {
            addCriterion("FAMILY_MEMEBER_ID <>", value, "FAMILY_MEMEBER_ID");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andFamilyMemeberIdGreaterThan(Integer value) {
            addCriterion("FAMILY_MEMEBER_ID >", value, "FAMILY_MEMEBER_ID");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andFamilyMemeberIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("FAMILY_MEMEBER_ID >=", value, "FAMILY_MEMEBER_ID");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andFamilyMemeberIdLessThan(Integer value) {
            addCriterion("FAMILY_MEMEBER_ID <", value, "FAMILY_MEMEBER_ID");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andFamilyMemeberIdLessThanOrEqualTo(Integer value) {
            addCriterion("FAMILY_MEMEBER_ID <=", value, "FAMILY_MEMEBER_ID");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andFamilyMemeberIdLike(Integer value) {
            addCriterion("FAMILY_MEMEBER_ID like ", value, "FAMILY_MEMEBER_ID", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andFamilyMemeberIdNotLike(Integer value) {
            addCriterion("FAMILY_MEMEBER_ID  not like ", value, "FAMILY_MEMEBER_ID", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andFamilyMemeberIdLeftLike(Integer value) {
            addCriterion("FAMILY_MEMEBER_ID like ", value, "FAMILY_MEMEBER_ID", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andFamilyMemeberIdNotLeftLike(Integer value) {
            addCriterion("FAMILY_MEMEBER_ID  not like ", value, "FAMILY_MEMEBER_ID", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andFamilyMemeberIdRightLike(Integer value) {
            addCriterion("FAMILY_MEMEBER_ID like ", value, "FAMILY_MEMEBER_ID", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andFamilyMemeberIdNotRightLike(Integer value) {
            addCriterion("FAMILY_MEMEBER_ID  not like ", value, "FAMILY_MEMEBER_ID", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andFamilyMemeberIdIn(List<Integer> values) {
            addCriterion("FAMILY_MEMEBER_ID  in ", values, "FAMILY_MEMEBER_ID");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andFamilyMemeberIdNotIn(List<Integer> values) {
            addCriterion("FAMILY_MEMEBER_ID not in ", values, "FAMILY_MEMEBER_ID");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andFamilyMemeberIdBetween(Integer value1, Integer value2) {
            addCriterion("FAMILY_MEMEBER_ID between ", value1, value2, "FAMILY_MEMEBER_ID");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andFamilyMemeberIdNotBetween(Integer value1, Integer value2) {
            addCriterion("FAMILY_MEMEBER_ID not between ", value1, value2, "FAMILY_MEMEBER_ID");
            return (FamilyMemberCriteria) this;
        }
        public FamilyMemberCriteria andFamilyIdIsNull() {
            addCriterion("FAMILY_ID is null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andFamilyIdIsNotNull() {
            addCriterion("FAMILY_ID is not null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andFamilyIdEqualTo(Integer value) {
            addCriterion("FAMILY_ID =", value, "FAMILY_ID");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andFamilyIdNotEqualTo(Integer value) {
            addCriterion("FAMILY_ID <>", value, "FAMILY_ID");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andFamilyIdGreaterThan(Integer value) {
            addCriterion("FAMILY_ID >", value, "FAMILY_ID");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andFamilyIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("FAMILY_ID >=", value, "FAMILY_ID");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andFamilyIdLessThan(Integer value) {
            addCriterion("FAMILY_ID <", value, "FAMILY_ID");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andFamilyIdLessThanOrEqualTo(Integer value) {
            addCriterion("FAMILY_ID <=", value, "FAMILY_ID");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andFamilyIdLike(Integer value) {
            addCriterion("FAMILY_ID like ", value, "FAMILY_ID", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andFamilyIdNotLike(Integer value) {
            addCriterion("FAMILY_ID  not like ", value, "FAMILY_ID", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andFamilyIdLeftLike(Integer value) {
            addCriterion("FAMILY_ID like ", value, "FAMILY_ID", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andFamilyIdNotLeftLike(Integer value) {
            addCriterion("FAMILY_ID  not like ", value, "FAMILY_ID", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andFamilyIdRightLike(Integer value) {
            addCriterion("FAMILY_ID like ", value, "FAMILY_ID", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andFamilyIdNotRightLike(Integer value) {
            addCriterion("FAMILY_ID  not like ", value, "FAMILY_ID", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andFamilyIdIn(List<Integer> values) {
            addCriterion("FAMILY_ID  in ", values, "FAMILY_ID");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andFamilyIdNotIn(List<Integer> values) {
            addCriterion("FAMILY_ID not in ", values, "FAMILY_ID");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andFamilyIdBetween(Integer value1, Integer value2) {
            addCriterion("FAMILY_ID between ", value1, value2, "FAMILY_ID");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andFamilyIdNotBetween(Integer value1, Integer value2) {
            addCriterion("FAMILY_ID not between ", value1, value2, "FAMILY_ID");
            return (FamilyMemberCriteria) this;
        }
        public FamilyMemberCriteria andMemberTypeIsNull() {
            addCriterion("MEMBER_TYPE is null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andMemberTypeIsNotNull() {
            addCriterion("MEMBER_TYPE is not null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andMemberTypeEqualTo(Integer value) {
            addCriterion("MEMBER_TYPE =", value, "MEMBER_TYPE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andMemberTypeNotEqualTo(Integer value) {
            addCriterion("MEMBER_TYPE <>", value, "MEMBER_TYPE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andMemberTypeGreaterThan(Integer value) {
            addCriterion("MEMBER_TYPE >", value, "MEMBER_TYPE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andMemberTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("MEMBER_TYPE >=", value, "MEMBER_TYPE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andMemberTypeLessThan(Integer value) {
            addCriterion("MEMBER_TYPE <", value, "MEMBER_TYPE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andMemberTypeLessThanOrEqualTo(Integer value) {
            addCriterion("MEMBER_TYPE <=", value, "MEMBER_TYPE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andMemberTypeLike(Integer value) {
            addCriterion("MEMBER_TYPE like ", value, "MEMBER_TYPE", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andMemberTypeNotLike(Integer value) {
            addCriterion("MEMBER_TYPE  not like ", value, "MEMBER_TYPE", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andMemberTypeLeftLike(Integer value) {
            addCriterion("MEMBER_TYPE like ", value, "MEMBER_TYPE", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andMemberTypeNotLeftLike(Integer value) {
            addCriterion("MEMBER_TYPE  not like ", value, "MEMBER_TYPE", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andMemberTypeRightLike(Integer value) {
            addCriterion("MEMBER_TYPE like ", value, "MEMBER_TYPE", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andMemberTypeNotRightLike(Integer value) {
            addCriterion("MEMBER_TYPE  not like ", value, "MEMBER_TYPE", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andMemberTypeIn(List<Integer> values) {
            addCriterion("MEMBER_TYPE  in ", values, "MEMBER_TYPE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andMemberTypeNotIn(List<Integer> values) {
            addCriterion("MEMBER_TYPE not in ", values, "MEMBER_TYPE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andMemberTypeBetween(Integer value1, Integer value2) {
            addCriterion("MEMBER_TYPE between ", value1, value2, "MEMBER_TYPE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andMemberTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("MEMBER_TYPE not between ", value1, value2, "MEMBER_TYPE");
            return (FamilyMemberCriteria) this;
        }
        public FamilyMemberCriteria andPersonCodeIsNull() {
            addCriterion("PERSON_CODE is null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPersonCodeIsNotNull() {
            addCriterion("PERSON_CODE is not null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPersonCodeEqualTo(String value) {
            addCriterion("PERSON_CODE =", value, "PERSON_CODE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPersonCodeNotEqualTo(String value) {
            addCriterion("PERSON_CODE <>", value, "PERSON_CODE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPersonCodeGreaterThan(String value) {
            addCriterion("PERSON_CODE >", value, "PERSON_CODE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPersonCodeGreaterThanOrEqualTo(String value) {
            addCriterion("PERSON_CODE >=", value, "PERSON_CODE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPersonCodeLessThan(String value) {
            addCriterion("PERSON_CODE <", value, "PERSON_CODE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPersonCodeLessThanOrEqualTo(String value) {
            addCriterion("PERSON_CODE <=", value, "PERSON_CODE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPersonCodeLike(String value) {
            addCriterion("PERSON_CODE like ", value, "PERSON_CODE", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPersonCodeNotLike(String value) {
            addCriterion("PERSON_CODE  not like ", value, "PERSON_CODE", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPersonCodeLeftLike(String value) {
            addCriterion("PERSON_CODE like ", value, "PERSON_CODE", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPersonCodeNotLeftLike(String value) {
            addCriterion("PERSON_CODE  not like ", value, "PERSON_CODE", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPersonCodeRightLike(String value) {
            addCriterion("PERSON_CODE like ", value, "PERSON_CODE", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPersonCodeNotRightLike(String value) {
            addCriterion("PERSON_CODE  not like ", value, "PERSON_CODE", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPersonCodeIn(List<String> values) {
            addCriterion("PERSON_CODE  in ", values, "PERSON_CODE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPersonCodeNotIn(List<String> values) {
            addCriterion("PERSON_CODE not in ", values, "PERSON_CODE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPersonCodeBetween(String value1, String value2) {
            addCriterion("PERSON_CODE between ", value1, value2, "PERSON_CODE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPersonCodeNotBetween(String value1, String value2) {
            addCriterion("PERSON_CODE not between ", value1, value2, "PERSON_CODE");
            return (FamilyMemberCriteria) this;
        }
        public FamilyMemberCriteria andNameIsNull() {
            addCriterion("NAME is null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andNameIsNotNull() {
            addCriterion("NAME is not null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andNameEqualTo(String value) {
            addCriterion("NAME =", value, "NAME");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andNameNotEqualTo(String value) {
            addCriterion("NAME <>", value, "NAME");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andNameGreaterThan(String value) {
            addCriterion("NAME >", value, "NAME");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("NAME >=", value, "NAME");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andNameLessThan(String value) {
            addCriterion("NAME <", value, "NAME");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andNameLessThanOrEqualTo(String value) {
            addCriterion("NAME <=", value, "NAME");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andNameLike(String value) {
            addCriterion("NAME like ", value, "NAME", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andNameNotLike(String value) {
            addCriterion("NAME  not like ", value, "NAME", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andNameLeftLike(String value) {
            addCriterion("NAME like ", value, "NAME", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andNameNotLeftLike(String value) {
            addCriterion("NAME  not like ", value, "NAME", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andNameRightLike(String value) {
            addCriterion("NAME like ", value, "NAME", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andNameNotRightLike(String value) {
            addCriterion("NAME  not like ", value, "NAME", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andNameIn(List<String> values) {
            addCriterion("NAME  in ", values, "NAME");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andNameNotIn(List<String> values) {
            addCriterion("NAME not in ", values, "NAME");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andNameBetween(String value1, String value2) {
            addCriterion("NAME between ", value1, value2, "NAME");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andNameNotBetween(String value1, String value2) {
            addCriterion("NAME not between ", value1, value2, "NAME");
            return (FamilyMemberCriteria) this;
        }
        public FamilyMemberCriteria andGenderIsNull() {
            addCriterion("GENDER is null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andGenderIsNotNull() {
            addCriterion("GENDER is not null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andGenderEqualTo(Integer value) {
            addCriterion("GENDER =", value, "GENDER");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andGenderNotEqualTo(Integer value) {
            addCriterion("GENDER <>", value, "GENDER");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andGenderGreaterThan(Integer value) {
            addCriterion("GENDER >", value, "GENDER");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andGenderGreaterThanOrEqualTo(Integer value) {
            addCriterion("GENDER >=", value, "GENDER");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andGenderLessThan(Integer value) {
            addCriterion("GENDER <", value, "GENDER");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andGenderLessThanOrEqualTo(Integer value) {
            addCriterion("GENDER <=", value, "GENDER");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andGenderLike(Integer value) {
            addCriterion("GENDER like ", value, "GENDER", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andGenderNotLike(Integer value) {
            addCriterion("GENDER  not like ", value, "GENDER", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andGenderLeftLike(Integer value) {
            addCriterion("GENDER like ", value, "GENDER", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andGenderNotLeftLike(Integer value) {
            addCriterion("GENDER  not like ", value, "GENDER", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andGenderRightLike(Integer value) {
            addCriterion("GENDER like ", value, "GENDER", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andGenderNotRightLike(Integer value) {
            addCriterion("GENDER  not like ", value, "GENDER", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andGenderIn(List<Integer> values) {
            addCriterion("GENDER  in ", values, "GENDER");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andGenderNotIn(List<Integer> values) {
            addCriterion("GENDER not in ", values, "GENDER");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andGenderBetween(Integer value1, Integer value2) {
            addCriterion("GENDER between ", value1, value2, "GENDER");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andGenderNotBetween(Integer value1, Integer value2) {
            addCriterion("GENDER not between ", value1, value2, "GENDER");
            return (FamilyMemberCriteria) this;
        }
        public FamilyMemberCriteria andIdNumberIsNull() {
            addCriterion("ID_NUMBER is null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIdNumberIsNotNull() {
            addCriterion("ID_NUMBER is not null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIdNumberEqualTo(String value) {
            addCriterion("ID_NUMBER =", value, "ID_NUMBER");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIdNumberNotEqualTo(String value) {
            addCriterion("ID_NUMBER <>", value, "ID_NUMBER");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIdNumberGreaterThan(String value) {
            addCriterion("ID_NUMBER >", value, "ID_NUMBER");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIdNumberGreaterThanOrEqualTo(String value) {
            addCriterion("ID_NUMBER >=", value, "ID_NUMBER");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIdNumberLessThan(String value) {
            addCriterion("ID_NUMBER <", value, "ID_NUMBER");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIdNumberLessThanOrEqualTo(String value) {
            addCriterion("ID_NUMBER <=", value, "ID_NUMBER");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIdNumberLike(String value) {
            addCriterion("ID_NUMBER like ", value, "ID_NUMBER", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIdNumberNotLike(String value) {
            addCriterion("ID_NUMBER  not like ", value, "ID_NUMBER", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIdNumberLeftLike(String value) {
            addCriterion("ID_NUMBER like ", value, "ID_NUMBER", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIdNumberNotLeftLike(String value) {
            addCriterion("ID_NUMBER  not like ", value, "ID_NUMBER", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIdNumberRightLike(String value) {
            addCriterion("ID_NUMBER like ", value, "ID_NUMBER", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIdNumberNotRightLike(String value) {
            addCriterion("ID_NUMBER  not like ", value, "ID_NUMBER", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIdNumberIn(List<String> values) {
            addCriterion("ID_NUMBER  in ", values, "ID_NUMBER");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIdNumberNotIn(List<String> values) {
            addCriterion("ID_NUMBER not in ", values, "ID_NUMBER");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIdNumberBetween(String value1, String value2) {
            addCriterion("ID_NUMBER between ", value1, value2, "ID_NUMBER");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIdNumberNotBetween(String value1, String value2) {
            addCriterion("ID_NUMBER not between ", value1, value2, "ID_NUMBER");
            return (FamilyMemberCriteria) this;
        }
        public FamilyMemberCriteria andMasterRelIsNull() {
            addCriterion("MASTER_REL is null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andMasterRelIsNotNull() {
            addCriterion("MASTER_REL is not null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andMasterRelEqualTo(Integer value) {
            addCriterion("MASTER_REL =", value, "MASTER_REL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andMasterRelNotEqualTo(Integer value) {
            addCriterion("MASTER_REL <>", value, "MASTER_REL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andMasterRelGreaterThan(Integer value) {
            addCriterion("MASTER_REL >", value, "MASTER_REL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andMasterRelGreaterThanOrEqualTo(Integer value) {
            addCriterion("MASTER_REL >=", value, "MASTER_REL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andMasterRelLessThan(Integer value) {
            addCriterion("MASTER_REL <", value, "MASTER_REL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andMasterRelLessThanOrEqualTo(Integer value) {
            addCriterion("MASTER_REL <=", value, "MASTER_REL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andMasterRelLike(Integer value) {
            addCriterion("MASTER_REL like ", value, "MASTER_REL", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andMasterRelNotLike(Integer value) {
            addCriterion("MASTER_REL  not like ", value, "MASTER_REL", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andMasterRelLeftLike(Integer value) {
            addCriterion("MASTER_REL like ", value, "MASTER_REL", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andMasterRelNotLeftLike(Integer value) {
            addCriterion("MASTER_REL  not like ", value, "MASTER_REL", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andMasterRelRightLike(Integer value) {
            addCriterion("MASTER_REL like ", value, "MASTER_REL", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andMasterRelNotRightLike(Integer value) {
            addCriterion("MASTER_REL  not like ", value, "MASTER_REL", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andMasterRelIn(List<Integer> values) {
            addCriterion("MASTER_REL  in ", values, "MASTER_REL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andMasterRelNotIn(List<Integer> values) {
            addCriterion("MASTER_REL not in ", values, "MASTER_REL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andMasterRelBetween(Integer value1, Integer value2) {
            addCriterion("MASTER_REL between ", value1, value2, "MASTER_REL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andMasterRelNotBetween(Integer value1, Integer value2) {
            addCriterion("MASTER_REL not between ", value1, value2, "MASTER_REL");
            return (FamilyMemberCriteria) this;
        }
        public FamilyMemberCriteria andNationIsNull() {
            addCriterion("NATION is null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andNationIsNotNull() {
            addCriterion("NATION is not null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andNationEqualTo(Integer value) {
            addCriterion("NATION =", value, "NATION");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andNationNotEqualTo(Integer value) {
            addCriterion("NATION <>", value, "NATION");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andNationGreaterThan(Integer value) {
            addCriterion("NATION >", value, "NATION");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andNationGreaterThanOrEqualTo(Integer value) {
            addCriterion("NATION >=", value, "NATION");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andNationLessThan(Integer value) {
            addCriterion("NATION <", value, "NATION");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andNationLessThanOrEqualTo(Integer value) {
            addCriterion("NATION <=", value, "NATION");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andNationLike(Integer value) {
            addCriterion("NATION like ", value, "NATION", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andNationNotLike(Integer value) {
            addCriterion("NATION  not like ", value, "NATION", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andNationLeftLike(Integer value) {
            addCriterion("NATION like ", value, "NATION", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andNationNotLeftLike(Integer value) {
            addCriterion("NATION  not like ", value, "NATION", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andNationRightLike(Integer value) {
            addCriterion("NATION like ", value, "NATION", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andNationNotRightLike(Integer value) {
            addCriterion("NATION  not like ", value, "NATION", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andNationIn(List<Integer> values) {
            addCriterion("NATION  in ", values, "NATION");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andNationNotIn(List<Integer> values) {
            addCriterion("NATION not in ", values, "NATION");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andNationBetween(Integer value1, Integer value2) {
            addCriterion("NATION between ", value1, value2, "NATION");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andNationNotBetween(Integer value1, Integer value2) {
            addCriterion("NATION not between ", value1, value2, "NATION");
            return (FamilyMemberCriteria) this;
        }
        public FamilyMemberCriteria andPoliticalIsNull() {
            addCriterion("POLITICAL is null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPoliticalIsNotNull() {
            addCriterion("POLITICAL is not null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPoliticalEqualTo(Integer value) {
            addCriterion("POLITICAL =", value, "POLITICAL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPoliticalNotEqualTo(Integer value) {
            addCriterion("POLITICAL <>", value, "POLITICAL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPoliticalGreaterThan(Integer value) {
            addCriterion("POLITICAL >", value, "POLITICAL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPoliticalGreaterThanOrEqualTo(Integer value) {
            addCriterion("POLITICAL >=", value, "POLITICAL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPoliticalLessThan(Integer value) {
            addCriterion("POLITICAL <", value, "POLITICAL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPoliticalLessThanOrEqualTo(Integer value) {
            addCriterion("POLITICAL <=", value, "POLITICAL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPoliticalLike(Integer value) {
            addCriterion("POLITICAL like ", value, "POLITICAL", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPoliticalNotLike(Integer value) {
            addCriterion("POLITICAL  not like ", value, "POLITICAL", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPoliticalLeftLike(Integer value) {
            addCriterion("POLITICAL like ", value, "POLITICAL", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPoliticalNotLeftLike(Integer value) {
            addCriterion("POLITICAL  not like ", value, "POLITICAL", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPoliticalRightLike(Integer value) {
            addCriterion("POLITICAL like ", value, "POLITICAL", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPoliticalNotRightLike(Integer value) {
            addCriterion("POLITICAL  not like ", value, "POLITICAL", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPoliticalIn(List<Integer> values) {
            addCriterion("POLITICAL  in ", values, "POLITICAL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPoliticalNotIn(List<Integer> values) {
            addCriterion("POLITICAL not in ", values, "POLITICAL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPoliticalBetween(Integer value1, Integer value2) {
            addCriterion("POLITICAL between ", value1, value2, "POLITICAL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPoliticalNotBetween(Integer value1, Integer value2) {
            addCriterion("POLITICAL not between ", value1, value2, "POLITICAL");
            return (FamilyMemberCriteria) this;
        }
        public FamilyMemberCriteria andEducationLevelIsNull() {
            addCriterion("EDUCATION_LEVEL is null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andEducationLevelIsNotNull() {
            addCriterion("EDUCATION_LEVEL is not null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andEducationLevelEqualTo(Integer value) {
            addCriterion("EDUCATION_LEVEL =", value, "EDUCATION_LEVEL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andEducationLevelNotEqualTo(Integer value) {
            addCriterion("EDUCATION_LEVEL <>", value, "EDUCATION_LEVEL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andEducationLevelGreaterThan(Integer value) {
            addCriterion("EDUCATION_LEVEL >", value, "EDUCATION_LEVEL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andEducationLevelGreaterThanOrEqualTo(Integer value) {
            addCriterion("EDUCATION_LEVEL >=", value, "EDUCATION_LEVEL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andEducationLevelLessThan(Integer value) {
            addCriterion("EDUCATION_LEVEL <", value, "EDUCATION_LEVEL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andEducationLevelLessThanOrEqualTo(Integer value) {
            addCriterion("EDUCATION_LEVEL <=", value, "EDUCATION_LEVEL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andEducationLevelLike(Integer value) {
            addCriterion("EDUCATION_LEVEL like ", value, "EDUCATION_LEVEL", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andEducationLevelNotLike(Integer value) {
            addCriterion("EDUCATION_LEVEL  not like ", value, "EDUCATION_LEVEL", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andEducationLevelLeftLike(Integer value) {
            addCriterion("EDUCATION_LEVEL like ", value, "EDUCATION_LEVEL", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andEducationLevelNotLeftLike(Integer value) {
            addCriterion("EDUCATION_LEVEL  not like ", value, "EDUCATION_LEVEL", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andEducationLevelRightLike(Integer value) {
            addCriterion("EDUCATION_LEVEL like ", value, "EDUCATION_LEVEL", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andEducationLevelNotRightLike(Integer value) {
            addCriterion("EDUCATION_LEVEL  not like ", value, "EDUCATION_LEVEL", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andEducationLevelIn(List<Integer> values) {
            addCriterion("EDUCATION_LEVEL  in ", values, "EDUCATION_LEVEL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andEducationLevelNotIn(List<Integer> values) {
            addCriterion("EDUCATION_LEVEL not in ", values, "EDUCATION_LEVEL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andEducationLevelBetween(Integer value1, Integer value2) {
            addCriterion("EDUCATION_LEVEL between ", value1, value2, "EDUCATION_LEVEL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andEducationLevelNotBetween(Integer value1, Integer value2) {
            addCriterion("EDUCATION_LEVEL not between ", value1, value2, "EDUCATION_LEVEL");
            return (FamilyMemberCriteria) this;
        }
        public FamilyMemberCriteria andStudentStateIsNull() {
            addCriterion("STUDENT_STATE is null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andStudentStateIsNotNull() {
            addCriterion("STUDENT_STATE is not null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andStudentStateEqualTo(Integer value) {
            addCriterion("STUDENT_STATE =", value, "STUDENT_STATE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andStudentStateNotEqualTo(Integer value) {
            addCriterion("STUDENT_STATE <>", value, "STUDENT_STATE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andStudentStateGreaterThan(Integer value) {
            addCriterion("STUDENT_STATE >", value, "STUDENT_STATE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andStudentStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("STUDENT_STATE >=", value, "STUDENT_STATE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andStudentStateLessThan(Integer value) {
            addCriterion("STUDENT_STATE <", value, "STUDENT_STATE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andStudentStateLessThanOrEqualTo(Integer value) {
            addCriterion("STUDENT_STATE <=", value, "STUDENT_STATE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andStudentStateLike(Integer value) {
            addCriterion("STUDENT_STATE like ", value, "STUDENT_STATE", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andStudentStateNotLike(Integer value) {
            addCriterion("STUDENT_STATE  not like ", value, "STUDENT_STATE", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andStudentStateLeftLike(Integer value) {
            addCriterion("STUDENT_STATE like ", value, "STUDENT_STATE", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andStudentStateNotLeftLike(Integer value) {
            addCriterion("STUDENT_STATE  not like ", value, "STUDENT_STATE", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andStudentStateRightLike(Integer value) {
            addCriterion("STUDENT_STATE like ", value, "STUDENT_STATE", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andStudentStateNotRightLike(Integer value) {
            addCriterion("STUDENT_STATE  not like ", value, "STUDENT_STATE", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andStudentStateIn(List<Integer> values) {
            addCriterion("STUDENT_STATE  in ", values, "STUDENT_STATE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andStudentStateNotIn(List<Integer> values) {
            addCriterion("STUDENT_STATE not in ", values, "STUDENT_STATE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andStudentStateBetween(Integer value1, Integer value2) {
            addCriterion("STUDENT_STATE between ", value1, value2, "STUDENT_STATE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andStudentStateNotBetween(Integer value1, Integer value2) {
            addCriterion("STUDENT_STATE not between ", value1, value2, "STUDENT_STATE");
            return (FamilyMemberCriteria) this;
        }
        public FamilyMemberCriteria andHealthStateIsNull() {
            addCriterion("HEALTH_STATE is null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andHealthStateIsNotNull() {
            addCriterion("HEALTH_STATE is not null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andHealthStateEqualTo(Integer value) {
            addCriterion("HEALTH_STATE =", value, "HEALTH_STATE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andHealthStateNotEqualTo(Integer value) {
            addCriterion("HEALTH_STATE <>", value, "HEALTH_STATE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andHealthStateGreaterThan(Integer value) {
            addCriterion("HEALTH_STATE >", value, "HEALTH_STATE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andHealthStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("HEALTH_STATE >=", value, "HEALTH_STATE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andHealthStateLessThan(Integer value) {
            addCriterion("HEALTH_STATE <", value, "HEALTH_STATE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andHealthStateLessThanOrEqualTo(Integer value) {
            addCriterion("HEALTH_STATE <=", value, "HEALTH_STATE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andHealthStateLike(Integer value) {
            addCriterion("HEALTH_STATE like ", value, "HEALTH_STATE", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andHealthStateNotLike(Integer value) {
            addCriterion("HEALTH_STATE  not like ", value, "HEALTH_STATE", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andHealthStateLeftLike(Integer value) {
            addCriterion("HEALTH_STATE like ", value, "HEALTH_STATE", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andHealthStateNotLeftLike(Integer value) {
            addCriterion("HEALTH_STATE  not like ", value, "HEALTH_STATE", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andHealthStateRightLike(Integer value) {
            addCriterion("HEALTH_STATE like ", value, "HEALTH_STATE", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andHealthStateNotRightLike(Integer value) {
            addCriterion("HEALTH_STATE  not like ", value, "HEALTH_STATE", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andHealthStateIn(List<Integer> values) {
            addCriterion("HEALTH_STATE  in ", values, "HEALTH_STATE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andHealthStateNotIn(List<Integer> values) {
            addCriterion("HEALTH_STATE not in ", values, "HEALTH_STATE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andHealthStateBetween(Integer value1, Integer value2) {
            addCriterion("HEALTH_STATE between ", value1, value2, "HEALTH_STATE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andHealthStateNotBetween(Integer value1, Integer value2) {
            addCriterion("HEALTH_STATE not between ", value1, value2, "HEALTH_STATE");
            return (FamilyMemberCriteria) this;
        }
        public FamilyMemberCriteria andIsArmyIsNull() {
            addCriterion("IS_ARMY is null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsArmyIsNotNull() {
            addCriterion("IS_ARMY is not null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsArmyEqualTo(Integer value) {
            addCriterion("IS_ARMY =", value, "IS_ARMY");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsArmyNotEqualTo(Integer value) {
            addCriterion("IS_ARMY <>", value, "IS_ARMY");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsArmyGreaterThan(Integer value) {
            addCriterion("IS_ARMY >", value, "IS_ARMY");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsArmyGreaterThanOrEqualTo(Integer value) {
            addCriterion("IS_ARMY >=", value, "IS_ARMY");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsArmyLessThan(Integer value) {
            addCriterion("IS_ARMY <", value, "IS_ARMY");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsArmyLessThanOrEqualTo(Integer value) {
            addCriterion("IS_ARMY <=", value, "IS_ARMY");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsArmyLike(Integer value) {
            addCriterion("IS_ARMY like ", value, "IS_ARMY", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsArmyNotLike(Integer value) {
            addCriterion("IS_ARMY  not like ", value, "IS_ARMY", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsArmyLeftLike(Integer value) {
            addCriterion("IS_ARMY like ", value, "IS_ARMY", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsArmyNotLeftLike(Integer value) {
            addCriterion("IS_ARMY  not like ", value, "IS_ARMY", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsArmyRightLike(Integer value) {
            addCriterion("IS_ARMY like ", value, "IS_ARMY", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsArmyNotRightLike(Integer value) {
            addCriterion("IS_ARMY  not like ", value, "IS_ARMY", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsArmyIn(List<Integer> values) {
            addCriterion("IS_ARMY  in ", values, "IS_ARMY");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsArmyNotIn(List<Integer> values) {
            addCriterion("IS_ARMY not in ", values, "IS_ARMY");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsArmyBetween(Integer value1, Integer value2) {
            addCriterion("IS_ARMY between ", value1, value2, "IS_ARMY");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsArmyNotBetween(Integer value1, Integer value2) {
            addCriterion("IS_ARMY not between ", value1, value2, "IS_ARMY");
            return (FamilyMemberCriteria) this;
        }
        public FamilyMemberCriteria andWorkSkillIsNull() {
            addCriterion("WORK_SKILL is null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkSkillIsNotNull() {
            addCriterion("WORK_SKILL is not null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkSkillEqualTo(Integer value) {
            addCriterion("WORK_SKILL =", value, "WORK_SKILL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkSkillNotEqualTo(Integer value) {
            addCriterion("WORK_SKILL <>", value, "WORK_SKILL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkSkillGreaterThan(Integer value) {
            addCriterion("WORK_SKILL >", value, "WORK_SKILL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkSkillGreaterThanOrEqualTo(Integer value) {
            addCriterion("WORK_SKILL >=", value, "WORK_SKILL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkSkillLessThan(Integer value) {
            addCriterion("WORK_SKILL <", value, "WORK_SKILL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkSkillLessThanOrEqualTo(Integer value) {
            addCriterion("WORK_SKILL <=", value, "WORK_SKILL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkSkillLike(Integer value) {
            addCriterion("WORK_SKILL like ", value, "WORK_SKILL", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkSkillNotLike(Integer value) {
            addCriterion("WORK_SKILL  not like ", value, "WORK_SKILL", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkSkillLeftLike(Integer value) {
            addCriterion("WORK_SKILL like ", value, "WORK_SKILL", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkSkillNotLeftLike(Integer value) {
            addCriterion("WORK_SKILL  not like ", value, "WORK_SKILL", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkSkillRightLike(Integer value) {
            addCriterion("WORK_SKILL like ", value, "WORK_SKILL", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkSkillNotRightLike(Integer value) {
            addCriterion("WORK_SKILL  not like ", value, "WORK_SKILL", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkSkillIn(List<Integer> values) {
            addCriterion("WORK_SKILL  in ", values, "WORK_SKILL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkSkillNotIn(List<Integer> values) {
            addCriterion("WORK_SKILL not in ", values, "WORK_SKILL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkSkillBetween(Integer value1, Integer value2) {
            addCriterion("WORK_SKILL between ", value1, value2, "WORK_SKILL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkSkillNotBetween(Integer value1, Integer value2) {
            addCriterion("WORK_SKILL not between ", value1, value2, "WORK_SKILL");
            return (FamilyMemberCriteria) this;
        }
        public FamilyMemberCriteria andWorkStateIsNull() {
            addCriterion("WORK_STATE is null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkStateIsNotNull() {
            addCriterion("WORK_STATE is not null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkStateEqualTo(Integer value) {
            addCriterion("WORK_STATE =", value, "WORK_STATE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkStateNotEqualTo(Integer value) {
            addCriterion("WORK_STATE <>", value, "WORK_STATE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkStateGreaterThan(Integer value) {
            addCriterion("WORK_STATE >", value, "WORK_STATE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("WORK_STATE >=", value, "WORK_STATE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkStateLessThan(Integer value) {
            addCriterion("WORK_STATE <", value, "WORK_STATE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkStateLessThanOrEqualTo(Integer value) {
            addCriterion("WORK_STATE <=", value, "WORK_STATE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkStateLike(Integer value) {
            addCriterion("WORK_STATE like ", value, "WORK_STATE", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkStateNotLike(Integer value) {
            addCriterion("WORK_STATE  not like ", value, "WORK_STATE", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkStateLeftLike(Integer value) {
            addCriterion("WORK_STATE like ", value, "WORK_STATE", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkStateNotLeftLike(Integer value) {
            addCriterion("WORK_STATE  not like ", value, "WORK_STATE", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkStateRightLike(Integer value) {
            addCriterion("WORK_STATE like ", value, "WORK_STATE", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkStateNotRightLike(Integer value) {
            addCriterion("WORK_STATE  not like ", value, "WORK_STATE", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkStateIn(List<Integer> values) {
            addCriterion("WORK_STATE  in ", values, "WORK_STATE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkStateNotIn(List<Integer> values) {
            addCriterion("WORK_STATE not in ", values, "WORK_STATE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkStateBetween(Integer value1, Integer value2) {
            addCriterion("WORK_STATE between ", value1, value2, "WORK_STATE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkStateNotBetween(Integer value1, Integer value2) {
            addCriterion("WORK_STATE not between ", value1, value2, "WORK_STATE");
            return (FamilyMemberCriteria) this;
        }
        public FamilyMemberCriteria andWorkMonthsIsNull() {
            addCriterion("WORK_MONTHS is null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkMonthsIsNotNull() {
            addCriterion("WORK_MONTHS is not null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkMonthsEqualTo(Integer value) {
            addCriterion("WORK_MONTHS =", value, "WORK_MONTHS");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkMonthsNotEqualTo(Integer value) {
            addCriterion("WORK_MONTHS <>", value, "WORK_MONTHS");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkMonthsGreaterThan(Integer value) {
            addCriterion("WORK_MONTHS >", value, "WORK_MONTHS");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkMonthsGreaterThanOrEqualTo(Integer value) {
            addCriterion("WORK_MONTHS >=", value, "WORK_MONTHS");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkMonthsLessThan(Integer value) {
            addCriterion("WORK_MONTHS <", value, "WORK_MONTHS");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkMonthsLessThanOrEqualTo(Integer value) {
            addCriterion("WORK_MONTHS <=", value, "WORK_MONTHS");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkMonthsLike(Integer value) {
            addCriterion("WORK_MONTHS like ", value, "WORK_MONTHS", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkMonthsNotLike(Integer value) {
            addCriterion("WORK_MONTHS  not like ", value, "WORK_MONTHS", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkMonthsLeftLike(Integer value) {
            addCriterion("WORK_MONTHS like ", value, "WORK_MONTHS", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkMonthsNotLeftLike(Integer value) {
            addCriterion("WORK_MONTHS  not like ", value, "WORK_MONTHS", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkMonthsRightLike(Integer value) {
            addCriterion("WORK_MONTHS like ", value, "WORK_MONTHS", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkMonthsNotRightLike(Integer value) {
            addCriterion("WORK_MONTHS  not like ", value, "WORK_MONTHS", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkMonthsIn(List<Integer> values) {
            addCriterion("WORK_MONTHS  in ", values, "WORK_MONTHS");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkMonthsNotIn(List<Integer> values) {
            addCriterion("WORK_MONTHS not in ", values, "WORK_MONTHS");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkMonthsBetween(Integer value1, Integer value2) {
            addCriterion("WORK_MONTHS between ", value1, value2, "WORK_MONTHS");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andWorkMonthsNotBetween(Integer value1, Integer value2) {
            addCriterion("WORK_MONTHS not between ", value1, value2, "WORK_MONTHS");
            return (FamilyMemberCriteria) this;
        }
        public FamilyMemberCriteria andIsInsuranceIsNull() {
            addCriterion("IS_INSURANCE is null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsInsuranceIsNotNull() {
            addCriterion("IS_INSURANCE is not null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsInsuranceEqualTo(Integer value) {
            addCriterion("IS_INSURANCE =", value, "IS_INSURANCE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsInsuranceNotEqualTo(Integer value) {
            addCriterion("IS_INSURANCE <>", value, "IS_INSURANCE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsInsuranceGreaterThan(Integer value) {
            addCriterion("IS_INSURANCE >", value, "IS_INSURANCE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsInsuranceGreaterThanOrEqualTo(Integer value) {
            addCriterion("IS_INSURANCE >=", value, "IS_INSURANCE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsInsuranceLessThan(Integer value) {
            addCriterion("IS_INSURANCE <", value, "IS_INSURANCE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsInsuranceLessThanOrEqualTo(Integer value) {
            addCriterion("IS_INSURANCE <=", value, "IS_INSURANCE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsInsuranceLike(Integer value) {
            addCriterion("IS_INSURANCE like ", value, "IS_INSURANCE", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsInsuranceNotLike(Integer value) {
            addCriterion("IS_INSURANCE  not like ", value, "IS_INSURANCE", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsInsuranceLeftLike(Integer value) {
            addCriterion("IS_INSURANCE like ", value, "IS_INSURANCE", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsInsuranceNotLeftLike(Integer value) {
            addCriterion("IS_INSURANCE  not like ", value, "IS_INSURANCE", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsInsuranceRightLike(Integer value) {
            addCriterion("IS_INSURANCE like ", value, "IS_INSURANCE", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsInsuranceNotRightLike(Integer value) {
            addCriterion("IS_INSURANCE  not like ", value, "IS_INSURANCE", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsInsuranceIn(List<Integer> values) {
            addCriterion("IS_INSURANCE  in ", values, "IS_INSURANCE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsInsuranceNotIn(List<Integer> values) {
            addCriterion("IS_INSURANCE not in ", values, "IS_INSURANCE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsInsuranceBetween(Integer value1, Integer value2) {
            addCriterion("IS_INSURANCE between ", value1, value2, "IS_INSURANCE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsInsuranceNotBetween(Integer value1, Integer value2) {
            addCriterion("IS_INSURANCE not between ", value1, value2, "IS_INSURANCE");
            return (FamilyMemberCriteria) this;
        }
        public FamilyMemberCriteria andBankNameIsNull() {
            addCriterion("BANK_NAME is null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andBankNameIsNotNull() {
            addCriterion("BANK_NAME is not null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andBankNameEqualTo(String value) {
            addCriterion("BANK_NAME =", value, "BANK_NAME");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andBankNameNotEqualTo(String value) {
            addCriterion("BANK_NAME <>", value, "BANK_NAME");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andBankNameGreaterThan(String value) {
            addCriterion("BANK_NAME >", value, "BANK_NAME");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andBankNameGreaterThanOrEqualTo(String value) {
            addCriterion("BANK_NAME >=", value, "BANK_NAME");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andBankNameLessThan(String value) {
            addCriterion("BANK_NAME <", value, "BANK_NAME");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andBankNameLessThanOrEqualTo(String value) {
            addCriterion("BANK_NAME <=", value, "BANK_NAME");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andBankNameLike(String value) {
            addCriterion("BANK_NAME like ", value, "BANK_NAME", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andBankNameNotLike(String value) {
            addCriterion("BANK_NAME  not like ", value, "BANK_NAME", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andBankNameLeftLike(String value) {
            addCriterion("BANK_NAME like ", value, "BANK_NAME", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andBankNameNotLeftLike(String value) {
            addCriterion("BANK_NAME  not like ", value, "BANK_NAME", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andBankNameRightLike(String value) {
            addCriterion("BANK_NAME like ", value, "BANK_NAME", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andBankNameNotRightLike(String value) {
            addCriterion("BANK_NAME  not like ", value, "BANK_NAME", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andBankNameIn(List<String> values) {
            addCriterion("BANK_NAME  in ", values, "BANK_NAME");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andBankNameNotIn(List<String> values) {
            addCriterion("BANK_NAME not in ", values, "BANK_NAME");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andBankNameBetween(String value1, String value2) {
            addCriterion("BANK_NAME between ", value1, value2, "BANK_NAME");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andBankNameNotBetween(String value1, String value2) {
            addCriterion("BANK_NAME not between ", value1, value2, "BANK_NAME");
            return (FamilyMemberCriteria) this;
        }
        public FamilyMemberCriteria andAccountCodeIsNull() {
            addCriterion("ACCOUNT_CODE is null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andAccountCodeIsNotNull() {
            addCriterion("ACCOUNT_CODE is not null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andAccountCodeEqualTo(String value) {
            addCriterion("ACCOUNT_CODE =", value, "ACCOUNT_CODE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andAccountCodeNotEqualTo(String value) {
            addCriterion("ACCOUNT_CODE <>", value, "ACCOUNT_CODE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andAccountCodeGreaterThan(String value) {
            addCriterion("ACCOUNT_CODE >", value, "ACCOUNT_CODE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andAccountCodeGreaterThanOrEqualTo(String value) {
            addCriterion("ACCOUNT_CODE >=", value, "ACCOUNT_CODE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andAccountCodeLessThan(String value) {
            addCriterion("ACCOUNT_CODE <", value, "ACCOUNT_CODE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andAccountCodeLessThanOrEqualTo(String value) {
            addCriterion("ACCOUNT_CODE <=", value, "ACCOUNT_CODE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andAccountCodeLike(String value) {
            addCriterion("ACCOUNT_CODE like ", value, "ACCOUNT_CODE", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andAccountCodeNotLike(String value) {
            addCriterion("ACCOUNT_CODE  not like ", value, "ACCOUNT_CODE", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andAccountCodeLeftLike(String value) {
            addCriterion("ACCOUNT_CODE like ", value, "ACCOUNT_CODE", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andAccountCodeNotLeftLike(String value) {
            addCriterion("ACCOUNT_CODE  not like ", value, "ACCOUNT_CODE", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andAccountCodeRightLike(String value) {
            addCriterion("ACCOUNT_CODE like ", value, "ACCOUNT_CODE", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andAccountCodeNotRightLike(String value) {
            addCriterion("ACCOUNT_CODE  not like ", value, "ACCOUNT_CODE", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andAccountCodeIn(List<String> values) {
            addCriterion("ACCOUNT_CODE  in ", values, "ACCOUNT_CODE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andAccountCodeNotIn(List<String> values) {
            addCriterion("ACCOUNT_CODE not in ", values, "ACCOUNT_CODE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andAccountCodeBetween(String value1, String value2) {
            addCriterion("ACCOUNT_CODE between ", value1, value2, "ACCOUNT_CODE");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andAccountCodeNotBetween(String value1, String value2) {
            addCriterion("ACCOUNT_CODE not between ", value1, value2, "ACCOUNT_CODE");
            return (FamilyMemberCriteria) this;
        }
        public FamilyMemberCriteria andTelIsNull() {
            addCriterion("TEL is null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andTelIsNotNull() {
            addCriterion("TEL is not null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andTelEqualTo(String value) {
            addCriterion("TEL =", value, "TEL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andTelNotEqualTo(String value) {
            addCriterion("TEL <>", value, "TEL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andTelGreaterThan(String value) {
            addCriterion("TEL >", value, "TEL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andTelGreaterThanOrEqualTo(String value) {
            addCriterion("TEL >=", value, "TEL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andTelLessThan(String value) {
            addCriterion("TEL <", value, "TEL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andTelLessThanOrEqualTo(String value) {
            addCriterion("TEL <=", value, "TEL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andTelLike(String value) {
            addCriterion("TEL like ", value, "TEL", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andTelNotLike(String value) {
            addCriterion("TEL  not like ", value, "TEL", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andTelLeftLike(String value) {
            addCriterion("TEL like ", value, "TEL", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andTelNotLeftLike(String value) {
            addCriterion("TEL  not like ", value, "TEL", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andTelRightLike(String value) {
            addCriterion("TEL like ", value, "TEL", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andTelNotRightLike(String value) {
            addCriterion("TEL  not like ", value, "TEL", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andTelIn(List<String> values) {
            addCriterion("TEL  in ", values, "TEL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andTelNotIn(List<String> values) {
            addCriterion("TEL not in ", values, "TEL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andTelBetween(String value1, String value2) {
            addCriterion("TEL between ", value1, value2, "TEL");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andTelNotBetween(String value1, String value2) {
            addCriterion("TEL not between ", value1, value2, "TEL");
            return (FamilyMemberCriteria) this;
        }
        public FamilyMemberCriteria andPersonPhotoIsNull() {
            addCriterion("PERSON_PHOTO is null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPersonPhotoIsNotNull() {
            addCriterion("PERSON_PHOTO is not null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPersonPhotoEqualTo(String value) {
            addCriterion("PERSON_PHOTO =", value, "PERSON_PHOTO");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPersonPhotoNotEqualTo(String value) {
            addCriterion("PERSON_PHOTO <>", value, "PERSON_PHOTO");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPersonPhotoGreaterThan(String value) {
            addCriterion("PERSON_PHOTO >", value, "PERSON_PHOTO");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPersonPhotoGreaterThanOrEqualTo(String value) {
            addCriterion("PERSON_PHOTO >=", value, "PERSON_PHOTO");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPersonPhotoLessThan(String value) {
            addCriterion("PERSON_PHOTO <", value, "PERSON_PHOTO");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPersonPhotoLessThanOrEqualTo(String value) {
            addCriterion("PERSON_PHOTO <=", value, "PERSON_PHOTO");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPersonPhotoLike(String value) {
            addCriterion("PERSON_PHOTO like ", value, "PERSON_PHOTO", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPersonPhotoNotLike(String value) {
            addCriterion("PERSON_PHOTO  not like ", value, "PERSON_PHOTO", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPersonPhotoLeftLike(String value) {
            addCriterion("PERSON_PHOTO like ", value, "PERSON_PHOTO", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPersonPhotoNotLeftLike(String value) {
            addCriterion("PERSON_PHOTO  not like ", value, "PERSON_PHOTO", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPersonPhotoRightLike(String value) {
            addCriterion("PERSON_PHOTO like ", value, "PERSON_PHOTO", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPersonPhotoNotRightLike(String value) {
            addCriterion("PERSON_PHOTO  not like ", value, "PERSON_PHOTO", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPersonPhotoIn(List<String> values) {
            addCriterion("PERSON_PHOTO  in ", values, "PERSON_PHOTO");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPersonPhotoNotIn(List<String> values) {
            addCriterion("PERSON_PHOTO not in ", values, "PERSON_PHOTO");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPersonPhotoBetween(String value1, String value2) {
            addCriterion("PERSON_PHOTO between ", value1, value2, "PERSON_PHOTO");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andPersonPhotoNotBetween(String value1, String value2) {
            addCriterion("PERSON_PHOTO not between ", value1, value2, "PERSON_PHOTO");
            return (FamilyMemberCriteria) this;
        }
        public FamilyMemberCriteria andIsCityEndowmentIsNull() {
            addCriterion("IS_CITY_ENDOWMENT is null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsCityEndowmentIsNotNull() {
            addCriterion("IS_CITY_ENDOWMENT is not null");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsCityEndowmentEqualTo(Integer value) {
            addCriterion("IS_CITY_ENDOWMENT =", value, "IS_CITY_ENDOWMENT");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsCityEndowmentNotEqualTo(Integer value) {
            addCriterion("IS_CITY_ENDOWMENT <>", value, "IS_CITY_ENDOWMENT");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsCityEndowmentGreaterThan(Integer value) {
            addCriterion("IS_CITY_ENDOWMENT >", value, "IS_CITY_ENDOWMENT");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsCityEndowmentGreaterThanOrEqualTo(Integer value) {
            addCriterion("IS_CITY_ENDOWMENT >=", value, "IS_CITY_ENDOWMENT");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsCityEndowmentLessThan(Integer value) {
            addCriterion("IS_CITY_ENDOWMENT <", value, "IS_CITY_ENDOWMENT");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsCityEndowmentLessThanOrEqualTo(Integer value) {
            addCriterion("IS_CITY_ENDOWMENT <=", value, "IS_CITY_ENDOWMENT");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsCityEndowmentLike(Integer value) {
            addCriterion("IS_CITY_ENDOWMENT like ", value, "IS_CITY_ENDOWMENT", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsCityEndowmentNotLike(Integer value) {
            addCriterion("IS_CITY_ENDOWMENT  not like ", value, "IS_CITY_ENDOWMENT", 1);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsCityEndowmentLeftLike(Integer value) {
            addCriterion("IS_CITY_ENDOWMENT like ", value, "IS_CITY_ENDOWMENT", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsCityEndowmentNotLeftLike(Integer value) {
            addCriterion("IS_CITY_ENDOWMENT  not like ", value, "IS_CITY_ENDOWMENT", 0);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsCityEndowmentRightLike(Integer value) {
            addCriterion("IS_CITY_ENDOWMENT like ", value, "IS_CITY_ENDOWMENT", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsCityEndowmentNotRightLike(Integer value) {
            addCriterion("IS_CITY_ENDOWMENT  not like ", value, "IS_CITY_ENDOWMENT", 2);
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsCityEndowmentIn(List<Integer> values) {
            addCriterion("IS_CITY_ENDOWMENT  in ", values, "IS_CITY_ENDOWMENT");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsCityEndowmentNotIn(List<Integer> values) {
            addCriterion("IS_CITY_ENDOWMENT not in ", values, "IS_CITY_ENDOWMENT");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsCityEndowmentBetween(Integer value1, Integer value2) {
            addCriterion("IS_CITY_ENDOWMENT between ", value1, value2, "IS_CITY_ENDOWMENT");
            return (FamilyMemberCriteria) this;
        }

        public FamilyMemberCriteria andIsCityEndowmentNotBetween(Integer value1, Integer value2) {
            addCriterion("IS_CITY_ENDOWMENT not between ", value1, value2, "IS_CITY_ENDOWMENT");
            return (FamilyMemberCriteria) this;
        }

    }

    public static class FamilyMemberCriteria extends GeneratedCriteria {

        protected FamilyMemberCriteria() {
            super();
        }
    }

    public static class FamilyMemberCriterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected FamilyMemberCriterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }
        protected FamilyMemberCriterion(String condition, Object value, int likeType) {
            this.condition = condition;
            if (likeType == 0) {
                this.value = "%" + value;
            }
            else if (likeType == 1) {
                this.value = "%" + value + "%";
            }
            else {
                this.value = value + "%";
            }
            this.typeHandler = null;
            this.singleValue = true;

        }

        protected FamilyMemberCriterion(String condition, Object value,
                String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            }
            else {
                this.singleValue = true;
            }
        }

        protected FamilyMemberCriterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected FamilyMemberCriterion(String condition, Object value,
                Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected FamilyMemberCriterion(String condition, Object value,
                Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}